//
//  WYNSString.h
//  label
//
//  Created by 王云 on 16/5/24.
//  Copyright © 2016年 com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>



@interface WYNSString : NSObject

//设置String 里面rang 的大小与颜色
+ (NSMutableAttributedString *)Att:(NSString *)String rang:(NSString *)rang font:(UIFont*)fon color:(UIColor *)color ParagraphSpacing:(CGFloat )ParagraphSpacing;


//设置String 的大小与颜色
+ (NSMutableAttributedString *)Att:(NSString *)String font:(UIFont*)fon color:(UIColor *)color;

//更改所有的某个颜色
+ (NSMutableAttributedString *)AllAtt:(NSString *)String rang:(NSString *)rang font:(UIFont *)fon color:(UIColor *)color;

//更改数组里面所有字体类型的颜色   行间距
+ (NSMutableAttributedString *)AllAtt:(NSString *)String rangArray:(NSArray *)rangArray font:(UIFont *)fon color:(UIColor *)color LineSpacing:(CGFloat)LineSpacing;


@end
